﻿<UserControl x:Class="TextFileReaderModule.Views.SaveCommentsDialogView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Width="250"
             >
    <Grid>
        <StackPanel>
            <TextBlock FontSize="24" Foreground="DarkBlue" Margin="10">Save comments ...</TextBlock>

            <TextBlock Margin="10" TextWrapping="Wrap">
                Press <Bold>Save</Bold> to save comments or press the <Bold>Discard</Bold> button if you
                want to discard changed comments. Press the <Bold>Cancel</Bold> button to cancel this dialog.
            </TextBlock>

            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>

                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>

                <Button Grid.Row="0" Grid.Column="0" Margin="10" Command="{Binding SaveDialogCommand}">Save</Button>
                <Button Grid.Row="0" Grid.Column="1" Margin="10" Command="{Binding DiscardDialogCommand}">Discard</Button>
                <Button Grid.Row="0" Grid.Column="2" Margin="10" Command="{Binding CancelDialogCommand}">Cancel</Button>

            </Grid>
            
        </StackPanel>
    </Grid>
</UserControl>
